package per.chenxin.tools.foundation;

import java.lang.reflect.InvocationTargetException;

public interface StringConvertable {

    String toJavaString(Object obj, int types);

    String toJavaString(Object obj, int types, String columnClassName)
        throws ClassNotFoundException, SecurityException, NoSuchMethodException,
        IllegalArgumentException, IllegalAccessException, InvocationTargetException;

    String toDbString(String str, int types);

}
